package com.jy.oms.framework.asyn.task.annotation;

import org.springframework.stereotype.Service;

import java.lang.annotation.*;

/**
 * 当在方法上定义Task时，需在类上定义此枚举，异步任务才能被注册
 *
 * @author liuquan
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Service
public @interface EnableTask {
}
